package com.jk.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/***
 * @ClassName: TravelAreaPO
 * @Description:TODO
 * @Auther: 王宇超
 * @Date: 2021/6/30 19:47
 * @version : V1.0
 */
@Data
@TableName(value = "travel_area")
@ApiModel("景区实体类")
public class TravelAreaPO {
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("景区主键编号")
    private Integer id;
    @TableField(value = "areaname")
    @ApiModelProperty("景点名称")
    private String areaname;
    @TableField(value = "areaid")
    @ApiModelProperty("景点编号")
    private Integer areaid;
    @TableField(value = "areastatus")
    @ApiModelProperty("景点状态:0未开放,1开放中")
    private Integer areastatus;
    @TableField(value = "arealevel")
    @ApiModelProperty("景点等级:1-5")
    private Integer arealevel;
    @TableField(value = "areaopentime")
    @ApiModelProperty("景点开放时间")
    private String areaopentime;
    @TableField(value = "areaclosetime")
    @ApiModelProperty("景点关闭时间")
    private String areaclosetime;
    @TableField(value = "ticketid")
    @ApiModelProperty("购票表关联id")
    private Integer ticketid;
    @TableField(value = "areacover")
    @ApiModelProperty("景区封面")
    private String areacover;
    @TableField(value = "areaprice")
    @ApiModelProperty("景区价格")
    private Double areaprice;
    @TableField(value = "areaplace")
    @ApiModelProperty("景区的地点")
    private String areaplace;
    @TableField(value = "areatype")
    @ApiModelProperty("景区的类别比如说爬山类等等")
    private String areatype;
    @TableField(value = "areainfo")
    @ApiModelProperty("景区的描述")
    private String areainfo;
    @TableField(value = "areaheat")
    @ApiModelProperty("景区的热度")
    private Integer areaheat;
    @TableField(value = "taid")
    @ApiModelProperty("关联id(和地区表的areaid)")
    private Integer taid;
}
